package cn.semcorp.zhuhaizj.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class InsertForeignDTO implements Serializable {
    @JsonProperty("日期")
    @NotNull(message = "日期不允许为空值")
    public String date;

    @JsonProperty("车间")
    @NotNull(message = "车间不允许为空值")
    public String workshop;

    @JsonProperty("班次")
    @NotNull(message = "班次不允许为空值")
    public String shift;

    @JsonProperty("重量")
    public String weight;
}
